FROM python:3.8-alpine
WORKDIR /app
COPY requirements.txt requirements.txt
RUN pip3 install -r requirements.txt -i https://pypi.tuna.tsinghua.edu.cn/simple
COPY ./*.py /app/
EXPOSE 50051
CMD ["python", "-u", "main.py"]
